package com.learnyou.server.xingzuo.dto.paramDTO.wechat;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * @author heweifeng
 * @Description:
 * @date 2022/11/14 18:01
 */
@Data
public class WechatAttendanceParamDTO {

    @ApiModelProperty(value = "考勤的课程课次ID")
    private Integer courseScheduleId;

    @ApiModelProperty(value = "学生的课程课次ID")
    private Integer studentScheduleId;

    @ApiModelProperty(value = "课时数量")
    private Integer attendanceCount;

    @ApiModelProperty(value = "针对哪次上课的考勤")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date studentScheduleAt;

    @ApiModelProperty(value = "本次考勤的学生列表")
    private List<WechatAttendanceStuParamDTO> attendanceStuList;

}
